package me.idashu.attg.persistence;

import java.util.List;
import java.util.Map;

import me.idashu.attg.domain.ShopEntity;

public interface ShopMapper {
	
	public void insertShop(ShopEntity shopEntity);
	
	public List<ShopEntity> findShopsByPage(Map<String, Object> map);
	
	public int findCountShopsByPage(ShopEntity shopEntity);
	
	public ShopEntity findShopById(long id);
	
	public void deleteShop(long id);
	
	public List<ShopEntity> searchShops(ShopEntity shopEntity);
	
	public List<ShopEntity> findShopsByAttens(long id);
	
	public ShopEntity findOneShopEntity(long id);
	
	public void updateShop(ShopEntity shopEntity);
}
